//
//  OAuthViewController.swift
//  LDMicroblog07
//
//  Created by pro on 15/9/18.
//  Copyright © 2015年 pro. All rights reserved.
//

import UIKit

class OAuthViewController: UIViewController {
    
    var webView: UIWebView?

    override func viewDidLoad() {
        super.viewDidLoad()

        webView = UIWebView()

        view = webView
        
        // 设置 navBar
        title = "新浪微博"
        navigationItem.rightBarButtonItem = UIBarButtonItem(title: "close", style: UIBarButtonItemStyle.Plain, target: self, action: "closeVc")
    }
    
    // 关闭VC
    func closeVc() {
    
        dismissViewControllerAnimated(true, completion: nil)
    }

}
